<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>人人P2P - 最新美剧、电影下载</title>
        <meta name="keywords" content="人人P2P,我爱P2P,yyste.com,磁力下载,BT下载,磁力下载,电驴下载,ED2K,magnet下载,迅雷下载,美剧,日剧,韩剧,电影,高清电影,游戏,DVDrip,720P,1080P" />
        <meta name="description" content="BT磁力下载,电驴,ED2K下载,迅雷下载,人人P2P为您奉献最新的海外影视剧" />
        <meta name="title" content="人人P2P - 最新美剧、电影下载" />

        {include file="include/header.tpl"}
    </head>
    <body>
        {include file="include/top.tpl"}
        <div class="row-fluid">
            <div class="area" style="position: relative;">
                <legend class="legend">
                    <h4>人人P2P，美剧，电影分享的天堂！ <a href="/movie_list"><i class="icon-hand-right"></i> 发现你想看的电影/电视剧</a></h4>
                </legend>
                <div class="carousel slide" style="margin-bottom: 0;">
                    {include file="include/search_filter.tpl"}
                </div>
            </div>
        </div>

        <div class="row-fluid">
            <div class="area" style="position: relative;">
                <div style="position: absolute; top: 20px; right: 10px; width: 250px; height: 24px;">
                    <div style="height:24px; width:120px;" class="pull-right">
                    </div>
                    <div style="height:24px; width:120px;" class="pull-right">
                    </div>
                </div>
                <legend class="legend">
                    <h4>最新电影 <span class="pull-right"><a href="/movie_list"> 查看全部›› </a></span></h4>
                </legend>
                <div id="hot_films" class="carousel slide" style="margin-bottom: 0;">
                    <div class="carousel-inner">
                        <div class="item" style="background-color: white;">
                            <ul class="thumbnails">
                                {foreach from=$hotmovies.0 item=item}
                                <li class="span2" style="height: 220px; margin-bottom: 0;" rel="tooltip" data-placement="bottom" >
                                    {if $smarty.const.debug }
                                    <a href="index.php?action=item_new&id={$item.id}" target="_blank" alt="{$item.title}">
                                    {else}
                                    <a href="/item_new/{$item.id}" target="_blank" alt="{$item.title}">
                                    {/if}
                                        <div class="thumbnail">
                                            <img alt="{$item.title}" src="{$item.imgUrl}">
                                            <div style="margin-top: 3px; text-align: center; line-height: 18px;">
                                                <b>{$item.title}</b>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                {/foreach}
                            </ul>
                        </div>

                        <div class="item" style="background-color: white;">
                            <ul class="thumbnails">
                                {foreach from=$hotmovies.1 item=item}
                                <li class="span2" style="height: 220px; margin-bottom: 0;" rel="tooltip" data-placement="bottom" >
                                    {if $smarty.const.debug }
                                    <a href="index.php?action=item_new&id={$item.id}" target="_blank" alt="{$item.title}">
                                    {else}
                                    <a href="/item_new/{$item.id}" target="_blank" alt="{$item.title}">
                                    {/if}
                                        <div class="thumbnail">
                                            <img alt="{$item.title}" src="{$item.imgUrl}">
                                            <div style="margin-top: 3px; text-align: center; line-height: 18px;">
                                                <b>{$item.title}</b>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                {/foreach}
                            </ul>
                        </div>

                        <div class="item active" style="background-color: white;">
                            <ul class="thumbnails">
                                {foreach from=$hotmovies.2 item=item}
                                <li class="span2" style="height: 220px; margin-bottom: 0;" rel="tooltip" data-placement="bottom" >
                                    {if $smarty.const.debug }
                                    <a href="index.php?action=item_new&id={$item.id}" target="_blank" alt="{$item.title}">
                                    {else}
                                    <a href="/item_new/{$item.id}" target="_blank" alt="{$item.title}">
                                    {/if}
                                        <div class="thumbnail">
                                            <img alt="{$item.title}" src="{$item.imgUrl}">
                                            <div style="margin-top: 3px; text-align: center; line-height: 18px;">
                                                <b>{$item.title}</b>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                {/foreach}
                            </ul>
                        </div>

                    </div>
                    <!-- Carousel nav -->
                    <a class="carousel-control left" href="#hot_films" data-slide="prev">‹</a>
                    <a class="carousel-control right" href="#hot_films" data-slide="next">›</a>
                </div>
            </div>
        </div>

        <div class="row-fluid">
            <div class="area" style="position: relative;">
                <div style="position: absolute; top: 20px; right: 10px; width: 250px; height: 24px;">
                    <div style="height:24px; width:120px;" class="pull-right">
                    </div>
                    <div style="height:24px; width:120px;" class="pull-right">
                    </div>
                </div>
                <legend class="legend">
                    <h4>最新电视剧 <span class="pull-right"><a href="/movie_list"> 查看全部›› </a></span></h4>
                </legend>
                <div id="hot_tvs" class="carousel slide" style="margin-bottom: 0;">
                    <div class="carousel-inner">
                        <div class="item" style="background-color: white;">
                            <ul class="thumbnails">
                                {foreach from=$hottvs.0 item=item}
                                <li class="span2" style="height: 220px; margin-bottom: 0;" rel="tooltip" data-placement="bottom" >
                                    {if $smarty.const.debug }
                                    <a href="index.php?action=item_new&id={$item.id}" target="_blank" alt="{$item.title}">
                                    {else}
                                    <a href="/item_new/{$item.id}" target="_blank" alt="{$item.title}">
                                    {/if}
                                        <div class="thumbnail">
                                            <img alt="{$item.title}" src="{$item.imgUrl}">
                                            <div style="margin-top: 3px; text-align: center; line-height: 18px;">
                                                <b>{$item.title}</b>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                {/foreach}
                            </ul>
                        </div>

                        <div class="item" style="background-color: white;">
                            <ul class="thumbnails">
                                {foreach from=$hottvs.1 item=item}
                                <li class="span2" style="height: 220px; margin-bottom: 0;" rel="tooltip" data-placement="bottom" >
                                    {if $smarty.const.debug }
                                    <a href="index.php?action=item_new&id={$item.id}" target="_blank" alt="{$item.title}">
                                    {else}
                                    <a href="/item_new/{$item.id}" target="_blank" alt="{$item.title}">
                                    {/if}
                                        <div class="thumbnail">
                                            <img alt="{$item.title}" src="{$item.imgUrl}">
                                            <div style="margin-top: 3px; text-align: center; line-height: 18px;">
                                                <b>{$item.title}</b>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                {/foreach}
                            </ul>
                        </div>

                        <div class="item active" style="background-color: white;">
                            <ul class="thumbnails">
                                {foreach from=$hottvs.2 item=item}
                                <li class="span2" style="height: 220px; margin-bottom: 0;" rel="tooltip" data-placement="bottom" >
                                    {if $smarty.const.debug }
                                    <a href="index.php?action=item_new&id={$item.id}" target="_blank" alt="{$item.title}">
                                    {else}
                                    <a href="/item_new/{$item.id}" target="_blank" alt="{$item.title}">
                                    {/if}
                                        <div class="thumbnail">
                                            <img alt="{$item.title}" src="{$item.imgUrl}">
                                            <div style="margin-top: 3px; text-align: center; line-height: 18px;">
                                                <b>{$item.title}</b>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                {/foreach}
                            </ul>
                        </div>

                    </div>
                    <!-- Carousel nav -->
                    <a class="carousel-control left" href="#hot_tvs" data-slide="prev">‹</a>
                    <a class="carousel-control right" href="#hot_tvs" data-slide="next">›</a>
                </div>
            </div>
        </div>
        
        <div class="row-fluid">
            <div class="span8">
                <div class="area">
                    <legend><h4>全部分类 (15万海外电影、电视剧资源) </h4>
                    </legend>
                    <div>
                        {foreach from=$categories item=item key=key}
                        {if $smarty.const.debug }
                        <a style="margin-bottom:5px;" class="btn btn-small" href="index.php?action=category&id={$key}" target="_blank" alt="{$item.name}"><b>{$item.name}</b>({$item.count})</a>
                        {else}
                        <a style="margin-bottom:5px;" class="btn btn-small" href="/category?id={$key}" target="_blank" alt="{$item}"><b>{$item.name}</b>({$item.count})</a>
                        {/if}

                        {/foreach}
                    </div>
                </div>
            </div>

            <div class="span4">
                <div class="area">
                    <legend><h4>在微信上关注我们~</h4>
                    </legend>
                    <div>
                        <center><img src="{$smarty.const.IMG_DIR}weixin.jpg" style="width:125px;height:125px;" alt="在微信上关注我们" /></center>
                        <span id="weixinShare" style="display:none"><a href="javascript:weixinShareTimeline();">分享到朋友圈</a></span>
                    </div>
                </div>
            </div>
        </div>

        {include file="include/bottom.tpl"}
        <script type="text/javascript" src="{$smarty.const.JS_DIR}movie_list.js"></script>
